<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ taglib uri="http://www.ld.com/system/tags" prefix="system"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<%-- 权限判断 --%>
<shield:permssion type="button">
<div >
	<!-- t改为shieldTarget，且为jQuery选择器形式 -->
    <form action="${ctxPathA}/system/noticeaction/search" method="post" shieldTarget="#searchResult" class="searchForm">
        <div class="search-box">
        	<!-- class"search-i"不同分辨率下，标题与输入文本共同换行。 -->
		    <span class="search-i"><b>识别码：</b><input type="text" name="<shield:encrypt value="equal_keyCode"/>" value="" class="input"/></span>
		    <span class="search-i"><b>创建时间：</b>
		    	<input type="text" name="<shield:encrypt value="date_screateTime"/>" class="Wdate input" value=""
                   id="startDate" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'endDate\')}'})"/>-
            	<input type="text" name="<shield:encrypt value="date_ecreateTime"/>" value="" class="Wdate input" id="endDate" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'startDate\')}'})"/></span>
        	<span class="search-i"><b>状态：</b>
	        	<select name="<shield:encrypt value="equal_state"/>" class="input">
	        		<option value="">全部</option>
	        		<option value="0">启用</option>
	        		<option value="2">停用</option>
	        	</select></span>
        	<span class="search-i">
	            <input class="button submit" type="submit" name="doSearch" value="查询">
	            <!-- href改为data-url -->
	            <a data-url="${ctxPathA }/system/noticeaction/toAddOrUpdate" class="shieldDialog" viewTitle="添加通知动作配置信息" viewWidth="800">
	            	<input class="addBaseTable" type="button" name="addBaseTable" value="添加">
	            </a>
            </span>
        </div>
        <div id="searchResult"></div>
    </form>
</div>
</shield:permssion>